home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_300
/
371_01
/
testdos
< prev
next >
Wrap
Text File
|
1992-05-28
|
2KB
|
93 lines
#################################################################
#
# Make file for TESTDOS
#
#################################################################
LINKER = tlink
LIBRN = tlib
MODEL = -ml
# Compilation flags:
# w - give picky errors
# c - suppress linking
COMPFLAGS = -c -w
# Compiler debugging options:
# y - line numbers
# v - source debugging
DEBUGFLAGS = -y -v
# Optimization flags
OPTFLAGS =
SRC = src/
OBJ = -nobj/
HDR = -Ihdr
C3FLAGS = $(MODEL) $(HDR) $(OBJ) $(COMPFLAGS) $(DEBUGFLAGS) -W
testdos.dmy: exampl1.exe exampl2.exe exampl3.exe exampl4.exe exampl5.exe exampl6.exe exampl7.exe
echo "X" > testdos.dmy
exampl1.exe: obj\exampl1.obj WinDosIO.dll
tlink /Tw /c /C /v /l @exampl1.mln
# rc exampl1.rc exampl1.exe
exampl2.exe: obj\exampl2.obj obj\windosio.obj WinDosIO.dll
tlink /Tw /c /C /v /l @exampl2.mln
# rc exampl2.rc exampl2.exe
exampl3.exe: obj\exampl3.obj WinDosIO.dll
tlink /Tw /c /C /v /l @exampl3.mln
# rc exampl3.rc exampl3.exe
exampl4.exe: obj\exampl4.obj WinDosIO.dll
tlink /Tw /c /C /v /l @exampl4.mln
# rc exampl4.rc exampl4.exe
exampl5.exe: obj\exampl5.obj WinDosIO.dll
tlink /Tw /c /C /v /l @exampl5.mln
# rc exampl5.rc exampl5.exe
exampl6.exe: obj\exampl6.obj obj\windosio.obj WinDosIO.dll
tlink /Tw /c /C /v /l @exampl6.mln
# rc exampl6.rc exampl6.exe
exampl7.exe: obj\exampl7.obj WinDosIO.dll
tlink /Tw /c /C /v /l @exampl7.mln
# rc exampl7.rc exampl7.exe
obj\windosio.obj: src\windosio.c
bcc $(C3FLAGS) $(SRC)$&.c
obj\exampl1.obj: src\exampl1.c
bcc $(C3FLAGS) $(SRC)$&.c
obj\exampl2.obj: src\exampl2.c
bcc $(C3FLAGS) $(SRC)$&.c
obj\exampl3.obj: src\exampl3.c
bcc $(C3FLAGS) $(SRC)$&.c
obj\exampl4.obj: src\exampl4.c
bcc $(C3FLAGS) $(SRC)$&.c
obj\exampl5.obj: src\exampl5.c
bcc $(C3FLAGS) $(SRC)$&.c
obj\exampl6.obj: src\exampl6.c
bcc $(C3FLAGS) $(SRC)$&.c
obj\exampl7.obj: src\exampl7.c
bcc $(C3FLAGS) $(SRC)$&.c